# $OpenBSD: Makefile,v 1.19 2016/03/20 19:56:55 naddy Exp $

COMMENT =	perl implementation of the SSH1 and SSH2 protocols

MODULES =	cpan
PKG_ARCH =	*
DISTNAME =	Net-SSH-Perl-1.42
CATEGORIES =	net security

# perl
PERMIT_PACKAGE_CDROM =	Yes

# SSHv1
RUN_DEPENDS =	devel/p5-String-CRC32 \
		math/p5-Math-GMP
# SSHv2
RUN_DEPENDS +=	converters/p5-Convert-PEM \
		math/p5-Math-Pari \
		security/p5-Crypt-DH \
		security/p5-Crypt-DSA \
		security/p5-Crypt-RSA \
		security/p5-Digest-BubbleBabble \
		security/p5-Digest-HMAC \
		security/p5-Digest-SHA1>=2.10 \
		devel/p5-File-HomeDir

# 03-packet.t just hangs in test 2, known since early 2004
NO_TEST =	Yes

MODCPAN_EXAMPLES =	Yes
MODCPAN_EXAMPLES_DIST =	eg

.include <bsd.port.mk>
